// Copyright (c)  YISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.Text.RegularExpressions;

namespace NSQL.Types
{
    public class DatetimeType : DataType
    {
        private static readonly Regex Regex = new Regex(@"(?<name>datetime)(?<format>\(.+\))?");
        public string Format { get; set; } = "yyyy-mm-dd hh24:mi:ss";
        public override bool TryMatch(string type, out DataType value)
        {
            throw new System.NotImplementedException();
        }
    }
}